module.exports = {

  tableName: 'sails_contact',
  autoCreatedAt: false,
  autoUpdatedAt: false,
  attributes: {

    // id: {
    //   type: 'integer',
    //   required: true,
    //   primaryKey: true
    // },
    name: {
      type: 'string',
      required: true
    },
    phone: {
      type: 'string',
      required: true
    },
    openId: {
      type: 'string',
      required: true
    },
    country: {
      type: 'string',
      required: true
    },
    province: {
      type: 'string',
      required: true
    },
    city: {
      type: 'string',
      required: true
    },
    street: {
      type: 'string',
      required: true
    },
    remark: {
      type: 'string',
    }

  }

}
